package com.hsc.yalebao.weight;

import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface.OnDismissListener;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;

public class OkAndCanleDialog extends Dialog
{
  public Button btn_cancle;
  public Button btn_confirm;
  private MyDialogListener cancleListener = null;
  private Context context;
  private MyDialogListener defaultListener = null;
  private float heightProportion = 0.12F;
  private MyDialogListener okListener = null;
  public TextView tv_money;
  public TextView tv_qishu;
  private TextView tv_tishi;
  private TextView tv_title;
  public TextView tv_type;
  public TextView tv_user_name;
  private float widthProportion = 0.7F;

  public OkAndCanleDialog(Context paramContext)
  {
    super(paramContext);
    this.context = paramContext;
    initDialog();
  }

  public OkAndCanleDialog(Context paramContext, int paramInt)
  {
    super(paramContext, paramInt);
    this.context = paramContext;
    initDialog();
  }

  protected void initDialog()
  {
    requestWindowFeature(1);
    getWindow().setContentView(2130903210);
    setCanceledOnTouchOutside(false);
    getWindow().getDecorView().getBackground().setAlpha(0);
    this.tv_title = ((TextView)findViewById(2131099849));
    this.tv_user_name = ((TextView)findViewById(2131099852));
    this.tv_type = ((TextView)findViewById(2131100333));
    this.tv_qishu = ((TextView)findViewById(2131100332));
    this.tv_money = ((TextView)findViewById(2131100334));
    this.btn_confirm = ((Button)findViewById(2131100064));
    this.btn_cancle = ((Button)findViewById(2131100066));
    this.btn_cancle.setOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        OkAndCanleDialog.this.dismiss();
      }
    });
    setDialogSize(this.widthProportion, this.heightProportion, 17);
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
  }

  public void setDialogSize(float paramFloat1, float paramFloat2, int paramInt)
  {
  }

  public void setIcon(int paramInt)
  {
  }

  public void setMessage(String paramString)
  {
    this.tv_tishi.setText(paramString);
  }

  public void setOnButtonGroupClick(MyDialogListener paramMyDialogListener1, MyDialogListener paramMyDialogListener2)
  {
    this.cancleListener = paramMyDialogListener1;
    this.okListener = paramMyDialogListener2;
  }

  public void setOnButtonGroupClick(String paramString1, MyDialogListener paramMyDialogListener1, String paramString2, MyDialogListener paramMyDialogListener2)
  {
    this.cancleListener = paramMyDialogListener1;
    this.okListener = paramMyDialogListener2;
  }

  public void setOnDefaultButtonClick(MyDialogListener paramMyDialogListener)
  {
    this.defaultListener = paramMyDialogListener;
  }

  public void setOnDefaultButtonClick(String paramString, MyDialogListener paramMyDialogListener)
  {
    this.defaultListener = paramMyDialogListener;
  }

  public void setOnDismissListener(DialogInterface.OnDismissListener paramOnDismissListener)
  {
    super.setOnDismissListener(paramOnDismissListener);
  }

  public void setTitle(String paramString)
  {
    this.tv_title.setText(paramString);
  }

  public static abstract interface MyDialogListener
  {
    public abstract void onClick();
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.hsc.yalebao.weight.OkAndCanleDialog
 * JD-Core Version:    0.6.2
 */